<template>
  <div>
    <div>
      <span>用户：</span>
      <input type="text" v-model="username">
    </div>
    <div>
      <span>密码：</span>
      <input type="password" v-model="pwd">
    </div>
    <div>
      <span>选择出生地:</span>
      <select v-model="from">
        <option value="北京市">北京</option>
        <option value="上海市">上海</option>
        <option value="河南市">河南</option>
        <option value="浙江市">浙江</option>
        <option value="江苏市">江苏</option>
      </select>
    </div>
    <div>
      <span>爱好：</span>
      <input type="checkbox" v-model="hoddy" value="唱歌">唱歌
      <input type="checkbox" v-model="hoddy" value="看剧">看剧
      <input type="checkbox" v-model="hoddy" value="做饭">做饭
    </div>
    <div>
      <span>性别：</span>
      <input type="radio" v-model="gender" value="男" name="sex">男
      <input type="radio" v-model="gender" value="女" name="sex">女
    </div>
    <div>
      <span>自我介绍：</span>
      <textarea v-model="intro"></textarea>
    </div>
  </div>
</template>

<script>
export default {
  data(){
    return{
      username:'kxs',
      pwd:'123456',
      from:'河南',
      hoddy:[],
      gender:'女',
      intro:''
    }
  }
}
</script>

<style>

</style>